/**
 * Shopware 4.0
 * Copyright © 2012 shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Live Article Search
 * @copyright  Copyright (c) 2012, shopware AG (http://www.shopware.de)
 * @version    $Id$
 * @author shopware AG
 */
@mixin shopware-livearticlesearch {
    .#{$prefix}search-article-live-field {
	
        .#{$prefix}form-trigger-wrap,
        .#{$prefix}form-trigger-wrap tbody,
        .#{$prefix}form-trigger-wrap tr,
        .#{$prefix}form-trigger-wrap td {
            display: block;
        }
        .reset {
            width: 14px;
            height: 14px;
            margin: 4px 0 0;
            border: 0 none;
            background: url("") no-repeat;
        }
    }

    .#{$prefix}search-article-live-drop-down {
        @include border-radius(4px);
        @include single-box-shadow(lighten($font-color, 25%), 0, 4px);
        overflow: visible;

		// Forces the live search to be on front of all desktops
		position: fixed !important;

        .header {
            @include border-radius(4px 4px 0 0);
            border: 1px solid #1672d5;

            .arrow {
                width: 10px;
                height: 7px;
                background: theme-image($theme, 'arrow-search.png') no-repeat;
                position: absolute;
                left: 16px;
                top: -5px;
            }

            .header-inner {
                @include border-radius(4px 4px 0 0);
                border: 1px solid #93d5f6;
                border-bottom: 0 none;
                background: theme-image($theme, 'bg_search-header.png') repeat-x;
                line-height: 32px;
            }

            .title {
                margin: 0 0 0 12px;
                color: #fff;
                font-weight: 700;
                text-shadow: 1px 1px 1px #237fdd;
            }
        }

        .content {
            @include border-radius(0 0 4px 4px);
            border: 1px solid #a4adb4;
            border-top: 0 none;
            background: #fff;
            color: #475c6b;
            text-shadow: 1px 1px 1px #fff;
            padding: 6px 0;

            .name {
                font-weight: 700;
                display: block;
            }
            .ordernumber {
                font-size: 11px;
                color: #999;
            }

            .item {
                padding: 4px 0 4px 12px;
                margin: 0 1px;
                border-top: 1px solid transparent;
                border-bottom: 1px solid transparent;
                cursor: pointer;
            }

            .#{$prefix}drop-down-over {
                background: #e2f3ff;
                border-top: 1px solid #c3ddf1;
                border-bottom: 1px solid #c3ddf1;
            }
        }
    }
}
